package com.itboye.eweilisten.util.widget;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.itboye.eweilisten.R;
import com.itboye.eweilisten.util.popwindow.BaseDialogFragment;

/**
 * Created by itboye on 2017/3/10.
 */

public class ReigDialogs extends BaseDialogFragment {
    TextView tvResetHao;

    public ReigDialogs() {

    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {

        return LayoutInflater.from(getContext()).inflate(
                R.layout.register_dialogs, null);
    }

    @Override
    public void onActivityCreated(Bundle savedInstanceState) {

        super.onActivityCreated(savedInstanceState);
        onDidlog();
    }

    public void onDidlog() {
        tvResetHao.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                dismiss();
            }
        });

    }
}
